package edu.core.testapp.client;

import java.io.IOException;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import edu.core.testapp.shared.ElGamalKeyHolder;

@RemoteServiceRelativePath("protect3")
public interface Protect03Service extends RemoteService {

	public ElGamalKeyHolder generateKeys();
	public String encodeBase64(String base64, ElGamalKeyHolder keys) throws IOException;
	public String decodeBase64(String base64, ElGamalKeyHolder keys) throws IOException;
	
}
